﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using OpenQA.Selenium;

namespace AutoTestingFramework.Core.Elements
{
    public interface IElement
    {
        ElementSelector ElementSelector { get; set; }
        string TagName { get; }
        string Value { get; }
        string Text { get; }
        bool IsText { get; }
        bool IsSelect { get; }
        bool IsMultipleSelect { get; }

        IEnumerable<string> SelectedOptionValues { get; }
        IEnumerable<string> SelectedOptionTextCollection { get; }


        int PosX { get; }
        int PosY { get; }

        int Width { get; }
        int Height { get; }

        IElementAttributeSelector Attributes { get; }

    }

    public interface IElementAttributeSelector
    {
        string GetAttributeName(string attributeName);
    }
}
